home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 4
/
Amiga Tools 4.iso
/
grafix
/
raytracing
/
raylab
/
source
/
platform
/
generic
/
makefile
< prev
Wrap
Makefile
|
1996-01-06
|
774b
|
42 lines
# Makefile for RayLab v1.0
# This file is released to the public domain.
#
# This makefile was made for cc/gcc
#
CFLAGS = -c -O3
LFLAGS = -o raylab -O
CC = cc
OBJ = o
.c.o:
$(CC) $(CFLAGS) $*.c
PLATFORM = generic.$(OBJ)
OBJS = raylab.$(OBJ) camera.$(OBJ) intersct.$(OBJ) algebra.$(OBJ) \
getworld.$(OBJ) tga.$(OBJ) texture.$(OBJ) objects.$(OBJ) \
$(PLATFORM)
raylab: $(OBJS)
$(CC) $(LFLAGS) $(OBJS) -lm
raylab.$(OBJ): raylab.c defs.h getworld.h tga.h
camera.$(OBJ): camera.c defs.h
intersct.$(OBJ): intersct.c defs.h extern.h
algebra.$(OBJ): algebra.c defs.h
getworld.$(OBJ): getworld.c defs.h getworld.h extern.h
tga.$(OBJ): tga.c defs.h tga.h extern.h
texture.$(OBJ): texture.c defs.h
objects.$(OBJ): objects.c defs.h extern.h